package archer.framework.common.repository.condition;


import archer.framework.core.constant.Constant;

/**
 * 排序项
 *
 * @author christ
 * @date 2016/4/20
 */
public class OrderByItem {

    private String field;

    private String direction = Constant.OrderDirection.ASC;

    public String getField() {
        return field;
    }

    public OrderByItem setField(String field) {
        this.field = field;
        return this;
    }

    public String getDirection() {
        return direction;
    }

    public OrderByItem setDirection(String direction) {
        this.direction = direction;
        return this;
    }
}
